package com.rasou.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("dataFeign")
public interface DataFeign {

    @GetMapping("/echo")
    ResponseEntity<String> echo(@RequestParam("msg") String msg);
}
